#include <iostream>
using namespace std;
class Test{
	public:
		Test(int = 0);
		void print() const;
	private:
		int x;
};
Test::Test(int val) : x(val)
{
	
}
void Test::print() const
{
	cout << "x = " << x << "\n";
	cout << "this->x = " << this->x << "\n";
	cout << "(*this).x = " << (*this).x << "\n";
}
int main(void)
{
	Test t1(8);
	t1.print();
	return 0;
}
